import { Module } from 'vuex'
import { MenuState } from './types'
import { RootState } from '../types'
import { getters } from './getters'
import { actions } from './actions'
import { mutations } from './mutations'
const state: MenuState = {
  articles: [],
  items: []
}
const namespaced = true
export const menu: Module<MenuState, RootState> = {
  namespaced,
  state,
  getters,
  actions,
  mutations
}
export default state
